<?php
require_once("rpcl/rpcl.inc.php");
require_once("config.php");
//Includes
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");
use_unit("dbtables.inc.php");
use_unit("db.inc.php");
use_unit("jsval/formvalidator.inc.php");

//Class definition
class dzsxDB extends DataModule
{
    public $QueryTeacherinfo = null;
    public $QueryFbExpinfo = null;
    public $QueryDelExinfo = null;
    public $QueryStuProf = null;
    public $QueryTeacherExpinfo = null;
    public $QueryTeacherCourse = null;
    public $Query2 = null;
    public $Database1 = null;
    public $Query1 = null;
    public $QueryStuCourse = null;
    public $QueryStuExpInfo = null;
    public $QueryStuExpRep = null;
    public $QueryUpdateSybg = null;
    public $QueryAddExpinfo = null;
    public $QueryModifyExpinfo = null;
    public $QueryExpshzt = null;
    public $QueryInsertExpRep = null;
    public $QueryStuClass = null;
    public $QuerySxbgList = null;
    public $QuerySxbgScore = null;
    public $QueryUpdateSxpj = null;
    public $Querysxxmsh = null;
    public $Querysxxmshlist = null;


}

global $application;

global $dzsxDB;

//Creates the form
$dzsxDB=new dzsxDB($application);

//Read from resource file
$dzsxDB->loadResource(__FILE__);

$dzsxDB->Database1->Host=$DbHost;
$dzsxDB->Database1->UserName=$DbUser;
$dzsxDB->Database1->UserPassword=$DbPassword;
$dzsxDB->Database1->DatabaseName=$DbName;
$dzsxDB->Database1->Connected=true;
mysql_set_charset("utf8");
session_start();

?>
